home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
TECHNICA
/
COMPUTER
/
H254.ZIP
/
IRITSM3S.ZIP
/
POLY3D
/
MATHERR.H
< prev
next >
Wrap
C/C++ Source or Header
|
1990-05-05
|
847b
|
22 lines
/*****************************************************************************
* Global definitions of floating point errors module: *
* *
* Written by: Gershon Elber IBM PC Ver 1.0, Mar. 1989 *
*****************************************************************************/
#ifndef MATHERRH
#define MATHERRH
/* Valid action to take uppon math error occurance: */
#define ME_KILL 0 /* Kill this process after printing error type */
#define ME_IGNORE 1 /* Save that error, but do nothing about it */
#define ME_LONGJMP 2 /* Long jump to given location if error */
#define ME_CALL 3 /* Call the given routine directly */
#define HAS_GRAPHICS /* Undef if program may work at graphic mode */
void MathErrorSetUp(int Action, void far *Addr);
char *MathErrorGet(void);
#endif MATHERRH